/*
 * StrahlentherapieRun.hh
 *
 *  Created on: Nov 26, 2010
 *      Author: holger
 */

#ifndef StrahlentherapieRun_h
#define StrahlentherapieRun_h 1

#include "G4Run.hh"
#include "G4Event.hh"
#include "G4THitsMap.hh"

class StrahlentherapieRun : public G4Run
{
	public:
		StrahlentherapieRun();
		~StrahlentherapieRun();

	public:
		void RecordEvent(const G4Event * event);

	public:
		G4int nEvent;

		G4int totalEnergyHeadID;
		G4THitsMap<G4double> totalEnergyHead;
		G4THitsMap<G4double>* eventTotalEnergyHead;

		G4int totalDoseHeadID;
		G4THitsMap<G4double> totalDoseHead;
		G4THitsMap<G4double>* eventTotalDoseHead;
		
		G4int totalEnergyDetectorPlateID;
		G4THitsMap<G4double> totalEnergyDetectorPlate;
		G4THitsMap<G4double>* eventTotalEnergyDetectorPlate;
};

#endif

